<?php

// $Id$

require_once(TANGRA_MAIN_DIR.'form/fields/text/form_field_text_view.class.php');
require_once(TANGRA_MAIN_DIR.'form/guardable_form_view.class.php');




class Image_Form_View extends Guardable_Form_View {
	function __construct(Form &$form) {
		parent::__construct($form);

		$f_note = $form->get_field('note');
		$f_note_view = new Form_Field_Text_View($form->get_name().'_'.$f_note->get_name(), $f_note);
		$this->add_field_view('note', $f_note_view);

		$f_alt = $form->get_field('alt');
		$f_alt_view = new Form_Field_Text_View($form->get_name().'_'.$f_alt->get_name(), $f_alt);
		$this->add_field_view('alt', $f_alt_view);
	}
}